import requests


class contest():
    def __init__(self):
        self.url = "http://10.59.9.14:7003/"
        self.session = requests.session()
        self.headers = {
            "content-type":"application/json"
        }

    def post(self,path,**kwargs):
        url = f"{self.url}{path}"
        return self.session.post(url,**kwargs)
    def put(self,path,**kwargs):
        url = f"{self.url}{path}"
        return self.session.put(url,**kwargs)
    def get(self,path,**kwargs):
        url = f"{self.url}{path}"
        return self.session.get(url,**kwargs)
    def delete(self,path,**kwargs):
        url = f"{self.url}{path}"
        return self.session.delete(url,**kwargs)